package cn.krui.project.bean.system.sys_user;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; 

/**
 * @program: project-system
 * @description: 系统用户实体类
 * @author: admin
 * @create: 2019-10-18
 **/
@ApiModel(value = "sys_user_info", description = "系统用户实体类")
public class sys_user_info {
	@ApiModelProperty(value = "主键id")
	private Integer id; 
	@ApiModelProperty(value = "部门ID")
	private Integer dept_id;
	@ApiModelProperty(value = "角色ID")
	private Integer role_id;
	@ApiModelProperty(value = "员工编号")
	private String user_number;
	@ApiModelProperty(value = "员工登录账号")
	private String user_name;
	@ApiModelProperty(value = "员工真实姓名")
	private String real_name;
	@ApiModelProperty(value = "登录密码")
	private String passwd;
	@ApiModelProperty(value = "电话")
	private String mobile;
	@ApiModelProperty(value = "性别")
	private String gender;
	@ApiModelProperty(value = "email")
	private String email;
	@ApiModelProperty(value = "员工状态 0=禁用 1=启用")
	private Integer status;
	@ApiModelProperty(value = "用户来源ip")
	private String create_ip;
	@ApiModelProperty(value = "用户创建时间")
	private Date create_time;
	@ApiModelProperty(value = "用户最后登录ip")
	private String last_ip;
	@ApiModelProperty(value = "用户最后登录时间")
	private Date last_visit;
	@ApiModelProperty(value = "部门名称")
	private String dept_name;
	@ApiModelProperty(value = "角色名称")
	private String role_name;
	@ApiModelProperty(value = "用户组id")
	private Integer group_id;
	@ApiModelProperty(value = "初始化数据")
	private int init_default; 
	@ApiModelProperty(value = "登录token")
	private String token;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getDept_id() {
		return dept_id;
	}

	public void setDept_id(Integer dept_id) {
		this.dept_id = dept_id;
	}

	public Integer getRole_id() {
		return role_id;
	}

	public void setRole_id(Integer role_id) {
		this.role_id = role_id;
	}

	public String getUser_number() {
		return user_number;
	}

	public void setUser_number(String user_number) {
		this.user_number = user_number;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getReal_name() {
		return real_name;
	}

	public void setReal_name(String real_name) {
		this.real_name = real_name;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCreate_ip() {
		return create_ip;
	}

	public void setCreate_ip(String create_ip) {
		this.create_ip = create_ip;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public String getLast_ip() {
		return last_ip;
	}

	public void setLast_ip(String last_ip) {
		this.last_ip = last_ip;
	}

	public Date getLast_visit() {
		return last_visit;
	}

	public void setLast_visit(Date last_visit) {
		this.last_visit = last_visit;
	}

	public String getDept_name() {
		return dept_name;
	}

	public void setDept_name(String dept_name) {
		this.dept_name = dept_name;
	}

	public String getRole_name() {
		return role_name;
	}

	public void setRole_name(String role_name) {
		this.role_name = role_name;
	}

	public Integer getGroup_id() {
		return group_id;
	}

	public void setGroup_id(Integer group_id) {
		this.group_id = group_id;
	}

	public int getInit_default() {
		return init_default;
	}

	public void setInit_default(int init_default) {
		this.init_default = init_default;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}
	
}
